package com.kotlin.android.api.repository

import com.kotlin.android.api.BaseRepository
import com.kotlin.android.api.RetrofitManager
import com.kotlin.android.api.bean.SeatBanner
import com.kotlin.android.api.ApiResult


/**
 *
 * Created on 2020/4/21.
 *
 * @author o.s
 */
class SeatRepository : BaseRepository() {

    suspend fun getSeatBanner(): ApiResult<SeatBanner> {
        return safeApiCall {
            converter(apiMisc.getSeatBanner())
        }
    }

}